package com.jeeos.modules.generator.controller;

import com.alibaba.fastjson.JSON;
import com.jeeos.modules.generator.domain.SysUser;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ForeignController {

    private final static Logger logger = LoggerFactory.getLogger(ForeignController.class);

    @GetMapping("/public/gen/hello")
    public String hello(int year) {
        logger.info("-------------generator hello-------------");

        return "-------------generator hello-------------";
    }
}
